<?php
	//error_reporting(0);
	//@set_time_limit(240);
	//@ini_set("memory_limit",'-1');
	//开启调试
	define('APP_DEBUG',true);
	//服务器相对路径
	define('DIRSEP',DIRECTORY_SEPARATOR);
	define('REL_URL','\\'.DIRSEP);
	define('UPLOAD_PATH','Utest/');
	//图片上传相对路径
	define('UPLOAD_URL',REL_URL.UPLOAD_PATH); 
	//绝对路径
	$PHP_SELF = $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME'];
	//用于指定CSS、JS等资源的绝对路径
	define('ABS_URL','http://'.$_SERVER['HTTP_HOST'].dirname($PHP_SELF).'/');
	//用于指定包含文件的绝对路径
	define('ABS_PATH',str_replace('\\',DIRECTORY_SEPARATOR,dirname(__FILE__)."\\"));
	//HTTP网站地址
	define('HTTP_URL','http://'.$_SERVER['HTTP_HOST']);
	
	require(ABS_PATH.'Core/Common/functions.php');
?>